﻿<%@ Page Language="C#" MasterPageFile="MyStudy.master" AutoEventWireup="true" ValidateRequest="false"
    CodeFile="Theme_Course.aspx.cs" Inherits="Theme_Index_Theme_Course" Title="Untitled Page" %>

<%--<%@ Register Src="UserControls/UserLogin.ascx" TagName="UserLogin" TagPrefix="uc1" %>
--%><%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<%@ Register Assembly="RadUpload.Net2" Namespace="Telerik.WebControls" TagPrefix="radU" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="new_01">
        <div class="position">
            首页 &gt;&gt; 浏览帖子 &gt;&gt;<asp:Label ID="lbl_titleinfo" runat="server"></asp:Label></div>
        <div class="my_calss">

        	<div class="list">
        	  <ul>
        	    <li><a href="OpenCourse.aspx?CourseID=<%=domainID %>&ClassID=<%=classID %>">资源列表</a></li>
                    <li><a href="NoteOfLearner.aspx?CourseID=<%=domainID %>&ClassID=<%=classID %>">学习笔记</a></li>
                    <li><a href="NoteOfSingleCourse.aspx?CourseID=<%=domainID %>&ClassID=<%=classID %>">
                        个人课程笔记</a></li>
                    <li><a href="NoteOfSingle.aspx?CourseID=<%=domainID %>&ClassID=<%=classID %>">个人所有笔记</a></li>
                    <li><a href="bbs_Course.aspx?Type=1&DomainID=<%=domainID %>&ClassID=<%=classID %>">及时研讨</a>
                    </li>
                    <li><a href="Appraise_Course.aspx?type=0&ClassID=<%=classID %>&courseID=<%=domainID %>">课程评价</a></li>
      	    </ul>
   	      </div>
            <div class="list">
                <ul>
                    <li>
                        <%=config.GetLanagerValueByKey("theme_Theme_ReadNumBefore", PowerCreator.LMS.Language.LanagetItemType.Page)%><asp:Label
                            ID="lab_ReadCount" runat="server" Text="333"></asp:Label><%=config.GetLanagerValueByKey("theme_Theme_ReadNumAffter", PowerCreator.LMS.Language.LanagetItemType.Page)%></span><asp:Button
                                ID="btn_Edit" runat="server" Text="" CssClass="mybuttons" OnClick="btn_Edit_Click" />&nbsp;
                        <asp:Button ID="btn_AddNew" runat="server" Text="" OnClick="btn_AddNew_Click" /></li>
                </ul>
            </div>
            <div class="jyzx_tba">
                <div class="tba_01">
                    <ul>
                        <li class="jyzx_602">
                            <asp:Label ID="lab_Title" runat="server" Text="标题"></asp:Label><asp:Label ID="lab_AnswerState"
                                runat="server" Text="标题" Visible="False"></asp:Label>
                        </li>
                        <li class="post_left">
                            <img src="../../BBS/images/touxiang.jpg" alt="author" width="99" height="99" /></li>
                        <li class="post_right">
                            <asp:Label ID="lab_Content" runat="server" Text="内容"></asp:Label></li>
                        <li class="post_01">
                            <table width="693" height="25" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="51">
                                        <div align="center">
                                            楼主：<asp:Label ID="lab_Author" runat="server" Text="作者"></asp:Label></div>
                                    </td>
                                    <td width="329">
                                        <div align="center">
                                        </div>
                                    </td>
                                    
                                    <td width="132">
                                        <asp:Label ID="lab_AccessoryName" runat="server" Text=""></asp:Label>
                                    </td>
                                    <td width="191">
                                        发表于<asp:Label ID="lab_DateCreated" runat="server" Text="时间"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </li>
                    </ul>
                </div>
            </div>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="99%">
                <Columns>
                    <asp:TemplateField ShowHeader="False">
                        <ItemTemplate>
                            <div class="jyzx_tba">
                                <div class="tba_01">
                                    <ul>
                                        <%-- <li class="jyzx_602">班级一班级互动讨论区，发表的第一个帖子 </li>--%>
                                        <li class="post_left">
                                            <img src="../../BBS/images/touxiang.jpg" alt="author" width="99" height="99" /></li>
                                        <li class="post_right">
                                            <asp:Label ID="lab_Content" runat="server"><%#Eval("ResversionContent")%></asp:Label></li>
                                        <li class="post_01">
                                            <table width="693" height="25" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td width="51">
                                                        <div align="center">
                                                            第<%#Eval("num")%>楼<br />
                                                            <asp:Label ID="lab_AnswerUser" runat="server"><%#Eval("ResversionUserName")%></asp:Label></div>
                                                    </td>
                                                    <td width="329">
                                                        <div align="center">
                                                        </div>
                                                    </td>
                                                    
                                                    <td width="132">
                                                        <div align="center">
                                                            <asp:Label ID="lab_AccessoryName" runat="server" Text=""><%#Eval("AccessoryName")%></asp:Label></div>
                                                    </td>
                                                    <td width="191">
                                                        发表于
                                                        <asp:Label ID="lab_DateCreated" runat="server"><%#Eval("ResversionCreateTime")%></asp:Label>
                                                    </td>
                                                </tr>
                                            </table>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <table border="0" cellpadding="0" cellspacing="0" width="80%">
                <tr>
                    <td align="center">
                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
                        </webdiyer:AspNetPager>
                    </td>
                </tr>
            </table>
            <div class="tba_02">
                <div>
                    <strong>我的回复</strong></div>
                <ul>
                    <li>
                        <FTB:FreeTextBox ID="txt_Answer" runat="server" ImageGalleryPath="~/fileupload/FreeTextBoxImage/"
                            ImageGalleryUrl="ftb.imagegallery.aspx?rif={0}&cif={0}" Language="" ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,Copy,Paste;Undo,Redo,Print"
                            Width="100%" Height="200px">
                        </FTB:FreeTextBox>
                    </li>
                  
                    <li>附件名称：
                        <asp:TextBox ID="txt_AccessoryName" runat="server"></asp:TextBox>
                    </li>
                    <li>附件类型：
                        <asp:DropDownList ID="dpdlst_AccessoryType" runat="server">
                            <asp:ListItem Value="-1">请选择</asp:ListItem>
                            <asp:ListItem Value="0">视频课件</asp:ListItem>
                            <asp:ListItem Value="1">其它资源</asp:ListItem>
                        </asp:DropDownList>
                    </li>
                    <li>选择附件：<radU:RadProgressManager ID="Radprogressmanager1" Width="100%" runat="server" />
                        <radU:RadProgressArea ID="progressArea1" Width="100%" runat="server">
                        </radU:RadProgressArea>
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                    </li>
                    <li class="yx_zd">
                        <asp:Button ID="btn_Answer" runat="server" Text="保存" CssClass="inputBotton2" OnClick="btn_Answer_Click" />
                        <asp:Button ID="btn_Back" runat="server" Text="返回" CssClass="inputBotton2" OnClick="btn_Back_Click" />
                    </li>
                </ul>
            </div>
        </div>
    </div>
</asp:Content>
